package com.zenithmind.note.pojo.entity;

import com.zenithmind.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import jakarta.validation.constraints.NotNull;

/**
 * 评论点赞实体类
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "评论点赞实体", description = "评论点赞实体")
public class CommentLike extends BaseEntity {
    
    @Schema(description = "评论ID")
    @NotNull(message = "评论ID不能为空")
    private String commentId;
    
    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private String userId;
} 